package kr.hkit.androidcomplete01.ch11;

import kr.hkit.androidcomplete01.R;
import android.app.Activity;
import android.os.Bundle;
import android.text.InputFilter;
import android.widget.EditText;

public class EditLimitEx extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.ch11_editlimitex);
		
		EditText limitEdit = (EditText) findViewById(R.id.limit);
		limitEdit.setFilters(new InputFilter[]{
				new InputFilter.LengthFilter(3)});
	}
}
